Tagged “design patterns”

  1. Error Handling - The Basics

    A starting point to better understanding errors, exceptions, the difference between the two terms, and more.

    Read Post
  2. Error Handling - Throw Low / Catch High Principle

    How creating a singular point of error handling and avoiding intermediary catches can reduce bugs and make code more maintainable.

    Read Post
  3. Design Pattern - The Special Case

    An pattern that reduces excess conditionals, removes null checks, and encapsulates edge cases.

    Read Post
  4. Design Pattern - The Visitor

    An pattern that allows pluggable operations on class instances by allowing them to receive visitors, with variants allowing for varying levels of control on either side of the exchange.

    Read Post